.thumb {
    font-size: 1.4em;
}

.class-text {
    flex-wrap: wrap;
}

body,
html {
    height: 100%;
}

.bg {
    /* The image used */
    /* background-image: url('https://imagizer.imageshack.com/img924/5713/AeOoZe.jpg'); */
    background-image: url('../img/bg2.jpg');

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.vessel-image {
    width: 100%;
    height: 8vw;
    object-fit: cover;
}

.vessel-image-show {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.vessel-image:hover {
    cursor: pointer;
}

.vessel-image-sidebar {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.vessel-image-sidebar:hover {
    cursor: pointer;
}

/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
.map {
    width: 100%;
    height: 100vh;
}

.map-index {
    width: 100%;
    height: 91vh;
}

.nowrap {
    white-space: nowrap;
}

/* @media (min-width: 768px) and (max-width: 1199.98px) {
    .map {
        height: 100%;
    }
 }

 @media only screen and (max-width: 767.98px) {
    .map {
        width: 100%;
        height: 550px;
    }
} */



/* .google-maps {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
.map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
} */

/* Optional: Makes the sample page fill the window. */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* #home_button:link {
    color: grey;
    background-color: transparent;
    text-decoration: none;
}

#home_button:visited {
    color: grey;
    background-color: transparent;
    text-decoration: none;
}

#home_button:hover {
    color: darkgrey;
    background-color: transparent;
    text-decoration: underline;
}

#home_button:active {
    color: darkgrey;
    background-color: transparent;
    text-decoration: underline;
} */

#scrollBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: darkgray; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#scrollBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

#askBtn {
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: lightblue; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#askBtn:hover {
    background-color: darkturquoise; /* Add a dark-grey background on hover */
}

.loading {
    background: transparent url('../img/load100.gif') center no-repeat;
}

.frame {
    object-fit: scale-down;
    /* width: 50px; */
    max-height: 30vh;
}

.dropdown-item:hover {
    cursor: pointer;
}

tr.middle > th, th.middle{
    vertical-align: middle;
    text-align: center;
    margin: 0;
}

tr.middle > td, td.middle {
    vertical-align: middle;
    text-align: center;
}

a {
    outline : none;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
}

.edit-image {
    position: absolute;
    /* right: 0; */
    /* top: 0; */
    top: 1;
    margin-top: 2%;
    margin-left: 85%;

    z-index: 2;
}

.hide_opacity {
    opacity: 0;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.window-vessel-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width: 50%; */
    /* width: 100%; */
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    /* width: 100%; */
}

table.fit-to-content tr td:first-child {
    width: 1%;
    white-space: nowrap;
}

table.no-border-top tr:first-child td {
    border-top: 0;
}

#legend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 3px solid #000;
}

#legend h3 {
    margin-top: 0;
}

#legend div {
    margin-bottom: 7px;
}

#legend img {
    vertical-align: middle;
    max-height: 1.5rem;
}

/* width */
::-webkit-scrollbar {
    width: 0.8em;
    height: 0.8em;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: #e7e6e6;
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d3d3d3;
    border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(168, 175, 179);
}
